/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui.menu.classDiagram;

import gui.menu.RibbonButton;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;

/**
 *
 * @author michau
 */
public class AddMethodItem extends RibbonButton implements ActionListener {

    private AddMethodForm form;

    public AddMethodItem() {
        super("icons/addMethod.png", "Add", "Add new method to selected entity");
        addActionListener(this);
    }

    public void actionPerformed(ActionEvent e) {
        form = new AddMethodForm();
    }

}
